﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Model.Entities;

namespace Model.Mappings
{
    public partial class RMBT_FACILITY_CHILDTABLE_Map : ClassMap<RMBT_FACILITY_CHILDTABLE>
    {
        public RMBT_FACILITY_CHILDTABLE_Map()
        {
            Table("RMBT_FACILITY_CHILDTABLE");
            Id(x => x.MFID)
                .Length(14);

            Map(x => x.FEEDERLOSSSTANDARDLENGTH).Nullable().Precision(5).Scale(2);
            Map(x => x.FEEDERLOSSACTUALLENGTH).Nullable().Precision(5).Scale(2);
            DoEditableMappings();
        }
    }
}
